﻿using System;

namespace Models
{
    /// <summary>
    /// 维护提醒类
    /// </summary>
    public class AssetKeepWarn
    {
        /// <summary>
        /// 主键
        /// </summary>
        public decimal ID { get; set; }

        /// <summary>
        /// 资产编号
        /// </summary>
        public string AssetNo { get; set; }

        /// <summary>
        /// 资产名称
        /// </summary>
        public string AssetName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specs { get; set; }

        /// <summary>
        /// 维护开始时间
        /// </summary>
        public DateTime MaintainTimeStart { get; set; }

        /// <summary>
        /// 维护结束时间
        /// </summary>
        public DateTime MaintainTimeEnd { get; set; }

        /// <summary>
        /// 维护人员
        /// </summary>
        public string Person { get; set; }

        /// <summary>
        /// 维护状态（0：待审批；1：已完成；2：待处理；3：处理中；4：审批驳回）
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 审批人员
        /// </summary>
        public string Auditor { get; set; }

        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime AuditTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }

        /// <summary>
        /// 维护登记ID（新增维护登记时，自动更新该字段）
        /// </summary>
        public decimal AU_ID { get; set; }

        public AssetKeepWarn()
        {
            Remark = "";
            Person = "";
            Status = 2;
            CreateTime = DateTime.Now;
            IsDelete = 0;
            AU_ID = 0;
        }
    }
}
